package com.atguigu03_extends.ex2;

public class Test {
    public static void main(String[] args) {
        Cylinder cylinder=new Cylinder();
        cylinder.setLength(1.4);
        cylinder.setR(2.3);
        System.out.println(cylinder.findVolume());
        System.out.println(cylinder.findArea());
    }
}
